<?php
class controller extends base{
	private $api_key;
	private $secret;
	private $api;
	
	public function __construct($api_key,$secret){
		parent::__construct();
		$this->api = new xiaonei_api($api_key,$secret);
	}
	
	public function run(){
		echo '欢迎'.$this->api-users('getLoggedInUser').'来到hoho!';
	}
}